home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20031118-20041115
/
000139_fdc@columbia.edu_Sat Mar 13 13:29:34 2004.msg
< prev
next >
Wrap
Internet Message Format
|
2004-11-14
|
2KB
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: MSDOS KERMIT & unbuffered disk write (session log)
Date: 13 Mar 2004 18:21:17 GMT
Organization: Columbia University
Lines: 28
Message-ID: <slrnc56k8t.lb4.fdc@sesame.cc.columbia.edu>
References: <c2tes5$228q78$1@ID-8247.news.uni-berlin.de>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1079202077 7233 128.59.59.56 (13 Mar 2004 18:21:17 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 13 Mar 2004 18:21:17 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14849
In article <c2tes5$228q78$1@ID-8247.news.uni-berlin.de>,
Henrique Seganfredo wrote:
:
: I am trying to use MS DOS KERMIT on an old computer to receive call reports
: data from a PABX. But I noticed that if there is a power shortage and the
: computer resets or shuts down, the current data (visible on the screen) sent
: by the PABX is not recorded to disk, I can only see in the file the data
: stored from tha last time I exited Kermit correctly (Alt-X, exit). Is there
: any way to force the writing periodically or every time data comes in?
:
In MS-DOS Kermit you would need to do something like this:
log session filename
while true {
input 600 string_that_will_never_come
close session
log session filename append
}
But no guarantees. "600" is the number of seconds. That means you can
lose anything that arrived in the last 600-second interval. You can use
any other number you want. Of course you also need some method to
terminate the loop.
If there is some way to identify the end of a transmission from the PBX,
you can use that for your INPUT target.
- Frank